#-*- encoding: utf8 -*-

from django import forms
from AIB_Login.models import AIB_Profile
from django.forms import ModelForm
#from userprofile.forms import RegistrationForm

class AIB_RegistrationForm(ModelForm):
    user = forms.CharField(label='Usuário', max_length=10)
    #first_name = forms.CharField(label='Nome', max_length=50)
    #last_name = forms.CharField(label='Sobrenome', max_length=50)
    #gender = forms.CharField(label='Sexo',
    #                         max_length=1,
    #                         widget=forms.RadioSelect(choices=GENDER_CHOICES),
    #                         required=False)
    email = forms.EmailField(help_text='Por favor entre com um endereço de email válido.')
    password = forms.CharField(label='Senha', max_length=15)
    password2 = forms.CharField(label='Repita Senha', max_length=15)
    #cpf =  forms.CharField(label='C.p.f.', max_length=9)
    #birthdate = forms.DateField(label='Data de nascimento',required=True)
    #url = models.URLField(blank=True)
    #about = models.TextField(blank=True)
    class Meta:
        model = AIB_Profile
        exclude = ('createDate')   
'''  
class AIB_RegistrationForm(ModelForm):
    class Meta:
        model = AIB_Profile   
'''    

